<% content_for(:for_javascript) do %>
<% jscomp('app/project/list_gantt, app/shared/list_gantt_grid, app/task/dlg_index, app/projectuser/dlg_select, app/milestone/dlg_index, app/event/dlg_index') %>
<% end %>
<% content_for(:for_stylesheet) do %>
<% csscomp 'app/list_gantt_grid' %>
<% end %>

<table class="mainpage_content_table" border="0" cellpadding="0" cellspacing="0" style="width:100%;height:100%;">
	<tr>
		<td valign="top">
			<table class="mainpage_content_table" border="0" cellpadding="0" cellspacing="0" style="width:100%;height:100%;">
				<tr>
					<td class="mainpage_content_head">
						<span style="float:left;">
							Gantt
						</span>
						<span style="float:right;">
							<%= link_to_function( image_tag('/images/btn/btn_task.gif',{:border => 0, :align=>"absmiddle", :alt=>app_localized_message(:label, :add_task)}) , :id=>'list_gantt_btn_add_task' ) %>
							<%= link_to_function( image_tag('/images/btn/btn_milestone.gif',{:border => 0, :align=>"absmiddle", :alt=>app_localized_message(:label, :add_milestone)}), :id=>'list_gantt_btn_add_milestone' ) %>
							<%= link_to_function( image_tag('/images/btn/btn_event.gif',{:border => 0, :align=>"absmiddle", :alt=>app_localized_message(:label, :add_event)}), :id=>'list_gantt_btn_add_event' ) %>
						</span>
						test
						<form name="navigation" id="navigation" method="post">
						<%= hidden_field_tag :base_id	%>
						<%= hidden_field_tag :class_word1	%>
						<%= hidden_field_tag :class_word2	%>
						<%= hidden_field_tag :class_word3	%>
						</form>
						<span id="remote_project_name" style="visibility:hidden;"><%= @project.project_name %></span>
						<span id="remote_form"><%= hidden_field( :project, :id, :value=>@project.id, :id=>"remote_project_id" ) %></span>
					</td>
				</tr>
				<tr>
					<td class="mainpage_content_content">
						<div id="pro_index_list_body" class="pro_index_list_body" style="width:100%;height:100%;">
							<%= render( :partial=>"shared/list_gantt_grid", :layout=>false ) %>
						</div>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>

<!-- タスク追加ダイアログ start -->
<%= render :partial=>"task/dlg_index" %>
<!-- タスク追加ダイアログ end -->

<!-- マイルストーン追加ダイアログ start -->
<%= render :partial=>"milestone/dlg_index" %>
<!-- マイルストーン追加ダイアログ end -->

<!-- イベント追加ダイアログ start -->
<%= render :partial=>"event/dlg_index" %>
<!-- イベント追加ダイアログ end -->

<!-- 担当者選択ダイアログ start -->
<%= render :partial=>"projectuser/dlg_select" %>
<!-- 担当者選択ダイアログ end -->